package com.zzyl.service;

import com.aliyun.iot20180120.models.*;
import com.zzyl.base.PageResponse;
import com.zzyl.dto.DeviceDto;
import com.zzyl.dto.DevicePageQueryDto;
import com.zzyl.vo.DeviceVo;
import com.zzyl.vo.ProductVo;

import java.util.List;

public interface DeviceService {
    void syncProductList();

    List<ProductVo> getAllProduct();

    void registerDevice(DeviceDto deviceDto);

    PageResponse getByPage(DevicePageQueryDto dto);

    DeviceVo queryDeviceDetail(QueryDeviceDetailRequest dto);


    QueryThingModelPublishedResponseBody.QueryThingModelPublishedResponseBodyData queryThingModelPublished(QueryThingModelPublishedRequest dto);

    QueryDevicePropertyStatusResponseBody.QueryDevicePropertyStatusResponseBodyData queryDevicePropertyStatus(QueryDevicePropertyStatusRequest dto);

    void updateDevice(DeviceDto deviceDto);
}
